﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 规则服务接口
    /// </summary>
    public interface IRuleService
    {
        string Add(T_Rule model);

        bool Delete(List<string> ids);

        bool Update(T_Rule model);

        T_Rule GetById(string id);

        List<T_Rule> GetList(string ruleName);

        PageData<T_Rule> Query(string ruleName, PageInfo page);
    }
}
